projects
/
emacs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
96d6400
)
(Ftranspose_regions): Fix order of parameters for replace_range.
author
Andreas Schwab
<schwab@suse.de>
Mon, 6 Apr 1998 09:20:04 +0000
(09:20 +0000)
committer
Andreas Schwab
<schwab@suse.de>
Mon, 6 Apr 1998 09:20:04 +0000
(09:20 +0000)
src/editfns.c
patch
|
blob
|
history
diff --git
a/src/editfns.c
b/src/editfns.c
index f95649b14803eac7520c0e527faa07563d46f7ba..fe419944553ee19919b580c84f541999e887963c 100644
(file)
--- a/
src/editfns.c
+++ b/
src/editfns.c
@@
-2776,8
+2776,8
@@
Transposing beyond buffer boundaries is an error.")
start1_byte, start1_byte + len1_byte,
start2_byte, start2_byte + len2_byte);
- replace_range (
text1, start2, end2
, 1, 0, 1);
- replace_range (
text2, start1, end1
, 1, 0, 1);
+ replace_range (
start2, end2, text1
, 1, 0, 1);
+ replace_range (
start1, end1, text2
, 1, 0, 1);
UNGCPRO;
return Qnil;